package com.tyk.bookstore.back.logistics.model.query;


import com.tyk.bookstore.back.logistics.model.enume.WaybillState;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author tyk
 * @description 运单
 */
@Data
public class WaybillUpdateQuery {

    @Schema(description = "ID")
    @NotNull
    @Min(1)
    private Long id;

    @Schema(description = "状态")
    @NotNull
    private WaybillState state;

}
